/**
 * +======================================================================================================================+
 * @Author: CimZzz
 * @Date: 2023-03-08 17:43:23
 * 
 * 代码分割块，以下内容涉及: 
 * 
 * 主要测试 STL 隐式转换
 * 
 */


#include <cstdio>
#include <memory>
#include <map>
#include <vector>
#include <string>

using namespace std;

class A {
public:
	A(const int&& number) {}
};

class B {
public:
	B(const A& a) { printf("456\n"); }
	template<class T>
	B(const T& data) { printf("123\n"); }
};

int main(int argc, char ** argv) {
	std::map<std::string, std::string> map;
	map = {{"1", "2"}};
	std::map<std::string, A> map2;
	map2 = {{"1", 1}};
	std::pair<std::string, B> pair = {"1", 2};
	B b(1);
	B b2(A(1));
	// std::map<std::string, B> map3;
	// map3 = {{"1", 1}};
	return 0;
}